; 

assume cs:codesg

codesg segment
start:
   ; 安装
   mov ax,cs
   mov ds,ax
   mov si,offset sqrt

   mov ax,0
   mov es,ax
   mov di,200h

   ;传送
   cld
   mov cx,offset sqrt_end-offset sqrt
   rep movsb


   ;设置地址 
  	mov si,7ch*4

  	mov word ptr ds:[si],200h
  	mov word ptr ds:[si+2],0



	
   mov ax,4c00h
   int 21h
   ;实现
   sqrt:
   mul ax
   iret
   sqrt_end:


codesg ends
end start
